mirror of
https://github.com/ViaVersion/ViaRewind-Legacy-Support.git
synced 2024-11-14 10:15:31 +01:00
brewing stand version fix
This commit is contained in:
parent
f1b0592c9c
commit
9a4ea39b67
@ -18,7 +18,7 @@ public class BrewingListener implements Listener {
|
||||
if (!(e.getInventory() instanceof BrewerInventory)) return;
|
||||
Player player = (Player) e.getPlayer();
|
||||
int version = Via.getAPI().getPlayerVersion(player);
|
||||
if (version>5) return;
|
||||
if (version>79) return;
|
||||
PlayerInventory playerInventory = player.getInventory();
|
||||
ItemStack blazePowder = new ItemStack(Material.BLAZE_POWDER);
|
||||
int amount = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user