mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-16 23:35:25 +01:00
Fix supplying block isntead of material.
This commit is contained in:
parent
a2c3432864
commit
a1ec8ce439
@ -105,7 +105,7 @@ public class EnginePermBuild extends Engine
|
||||
|
||||
public static Boolean useBlock(Player player, Block block, boolean verboose, Cancellable cancellable)
|
||||
{
|
||||
return protect(ProtectCase.USE_BLOCK, verboose, player, PS.valueOf(block), block, cancellable);
|
||||
return protect(ProtectCase.USE_BLOCK, verboose, player, PS.valueOf(block), block.getType(), cancellable);
|
||||
}
|
||||
|
||||
// -------------------------------------------- //
|
||||
|
Loading…
Reference in New Issue
Block a user