Skip to content

Commit

Permalink
Fixed server crash upon blood extraction, again.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Feb 23, 2014
1 parent 5d33fd3 commit 8f48618
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build_number.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#Thu, 20 Feb 2014 13:59:29 +0100
#Fri, 21 Feb 2014 18:47:55 +0100

build_number=32
build_number=33
2 changes: 1 addition & 1 deletion common/evilcraft/items/BloodExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public boolean onItemUseFirst(ItemStack itemStack, EntityPlayer player, World wo
int metaData = world.getBlockMetadata(x, y, z);
world.setBlock(x, y, z, BloodStainedBlock.getInstance().getBlockFromMetadata(metaData).blockID);

if (!world.isRemote) {
if (world.isRemote) {
// Init particles
EntityBloodSplashFX.spawnParticles(world, x, y + 1, z, 5, 1 + random.nextInt(2));
}
Expand Down
Loading

0 comments on commit 8f48618

Please sign in to comment.