encapsulating isClientSide()
This commit is contained in:
1 parent
90ba928479
commit
49840619f5
16 files changed
+24
-24
No files matched your search
@@ -25,7 +25,7 @@ public class SummonCommand_lightningMixin
|
||||
private static BlockPos addRiders(Entity entity)
|
||||
{
|
||||
// [CM] SummonNaturalLightning - if statement around
|
||||
if (CarpetSettings.summonNaturalLightning && entity instanceof LightningBolt && !entity.level().isClientSide)
|
||||
if (CarpetSettings.summonNaturalLightning && entity instanceof LightningBolt && !entity.level().isClientSide())
|
||||
{
|
||||
ServerLevel world = (ServerLevel) entity.level();
|
||||
BlockPos at = entity.blockPosition();
|
||||
|
||||
Reference in new issue
Block a user