Fixed Shake dropping bonemeal from Squids.

Stupid DyeColor enum...
This commit is contained in:
GJ 2012-03-23 22:30:56 -04:00
parent 46c31e1abb
commit 443b4a193c
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,7 @@ Key:
- Removal - Removal
Version 1.3.04-dev Version 1.3.04-dev
= Fixed Shake ability dropping bonemeal instead of ink for squids.
! Changed MySQL to reload all player information on reconnection ! Changed MySQL to reload all player information on reconnection
Version 1.3.03 Version 1.3.03

View File

@ -4,7 +4,6 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.bukkit.DyeColor;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.enchantments.Enchantment; import org.bukkit.enchantments.Enchantment;
@ -315,7 +314,7 @@ public class Fishing {
break; break;
case SQUID: case SQUID:
m.mcDropItem(loc, new ItemStack(Material.INK_SACK, 1, (short) 0, DyeColor.BLACK.getData())); m.mcDropItem(loc, new ItemStack(Material.INK_SACK, 1, (short) 0, (byte) 0x0));
break; break;
case ZOMBIE: case ZOMBIE: