[ci skip] Very important bug fix :O (#5934)
This commit is contained in:
		
					parent
					
						
							
								5166ece434
							
						
					
				
			
			
				commit
				
					
						83bbb318a6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -33,7 +33,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 | 
				
			||||||
         int i = EnchantmentHelper.getItemEnchantmentLevel(Enchantments.MULTISHOT, projectile);
 | 
					         int i = EnchantmentHelper.getItemEnchantmentLevel(Enchantments.MULTISHOT, projectile);
 | 
				
			||||||
         int j = i == 0 ? 1 : 3;
 | 
					         int j = i == 0 ? 1 : 3;
 | 
				
			||||||
-        boolean flag = shooter instanceof Player && ((Player) shooter).getAbilities().instabuild;
 | 
					-        boolean flag = shooter instanceof Player && ((Player) shooter).getAbilities().instabuild;
 | 
				
			||||||
+        boolean flag = !consume || shooter instanceof Player && ((Player) shooter).getAbilities().instabuild; // Paper - add consme
 | 
					+        boolean flag = !consume || shooter instanceof Player && ((Player) shooter).getAbilities().instabuild; // Paper - add consume
 | 
				
			||||||
         ItemStack itemstack1 = shooter.getProjectile(projectile);
 | 
					         ItemStack itemstack1 = shooter.getProjectile(projectile);
 | 
				
			||||||
         ItemStack itemstack2 = itemstack1.copy();
 | 
					         ItemStack itemstack2 = itemstack1.copy();
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue