TiCon: DONE. Also updated todo list.

This commit is contained in:
Alex Spinks committed 2015-08-06 21:23:20 +01:00
1 parent 3069972354
commit 4dc827f357
4 files changed
+42 -4

No files matched your search

@@ -43,7 +43,7 @@ import static net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent;
public class LudicrousEvents {
private Random randy = new Random();
private static Random randy = new Random();
@SubscribeEvent
public void onPlayerMine(PlayerInteractEvent event) {
@@ -124,7 +124,7 @@ public class LudicrousEvents {
}
}
private void dropItem(ItemStack drop, World world, int x, int y, int z){
public static void dropItem(ItemStack drop, World world, int x, int y, int z){
float f = 0.7F;
double d0 = (double)(randy.nextFloat() * f) + (double)(1.0F - f) * 0.5D;
double d1 = (double)(randy.nextFloat() * f) + (double)(1.0F - f) * 0.5D;