mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-23 17:47:35 +01:00
Fix infinite sign bug.
This commit is contained in:
parent
a521ab76a5
commit
297e06ba71
@ -109,7 +109,7 @@ public static Player matchSinglePlayer(Server server, String name) {
|
|||||||
public static void dropSign(Block block) {
|
public static void dropSign(Block block) {
|
||||||
block.setTypeId(0);
|
block.setTypeId(0);
|
||||||
block.getWorld().dropItemNaturally(block.getLocation(),
|
block.getWorld().dropItemNaturally(block.getLocation(),
|
||||||
new ItemStack(Material.SIGN));
|
new ItemStack(Material.SIGN, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user