Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A better (also, a correct?) fix for the self-replicating furnaces.

  • Loading branch information...
commit cd97ae9079adbb1fd04a77e3040298ca17639d5d 1 parent b6fee61
Friedrich Weber authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 src/packets.cpp
9 src/packets.cpp
View
@@ -1053,14 +1053,7 @@ int PacketHandler::player_block_placement(User* user)
blockcb = Mineserver::get()->plugin()->getBlockCB()[i];
if (blockcb != NULL && blockcb->affectedBlock(newblock))
{
- if (blockcb->onPlace(user, newblock, x, y, z, user->pos.map, direction))
- {
- return PACKET_OK;
- }
- else
- {
- break;
- }
+ blockcb->onPlace(user, newblock, x, y, z, user->pos.map, direction);
}
}
(static_cast<Hook6<bool, const char*, int32_t, int8_t, int32_t, int16_t, int8_t>*>(Mineserver::get()->plugin()->getHook("BlockPlacePost")))->doAll(user->nick.c_str(), x, y, z, newblock, direction);
Please sign in to comment.
Something went wrong with that request. Please try again.