mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Added poma's requested change
Co-authored-by: poma123 <25465545+poma123@users.noreply.github.com>
This commit is contained in:
parent
a10813036b
commit
fb47574fe8
@ -44,7 +44,7 @@ public class RuneOfUnemployment extends SimpleSlimefunItem<EntityInteractHandler
|
||||
return;
|
||||
}
|
||||
|
||||
if (p.getGameMode() != GameMode.CREATIVE) {
|
||||
if (e.getPlayer().getGameMode() != GameMode.CREATIVE) {
|
||||
ItemUtils.consumeItem(item, false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user