1
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:
TheBusyBiscuit 2020-08-17 16:27:26 +02:00 committed by GitHub
parent a10813036b
commit fb47574fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}