mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-22 07:21:52 +01:00
Use block instead of material in CompatibleMaterial
This commit is contained in:
parent
fa5f34a889
commit
781b716783
@ -73,9 +73,9 @@ public class Block implements Listener {
|
||||
}
|
||||
|
||||
if (stackableManager != null && stackableManager.isStacked(blockLocation)) {
|
||||
Stackable stackable = stackableManager.getStack(block.getLocation(), CompatibleMaterial.getBlockMaterial(block.getType()));
|
||||
Stackable stackable = stackableManager.getStack(block.getLocation(), CompatibleMaterial.getMaterial(block));
|
||||
if (stackable != null) {
|
||||
CompatibleMaterial material = CompatibleMaterial.getBlockMaterial(block.getType());
|
||||
CompatibleMaterial material = CompatibleMaterial.getMaterial(block);
|
||||
byte data = block.getData();
|
||||
|
||||
int droppedAmount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user