Closed BluXDragon closed 11 years ago
The code provided below that worked in a prior version now crashes clients upon proximity to the spawner in question.
if (split[0].equalsIgnoreCase("/mspawntest") && player.canUseCommand("/spawnmob")){ HitBlox hb = new HitBlox(player); Block targetblock = hb.getTargetBlock(); if (targetblock == null)return true; if (targetblock.getType() == 52){ MobSpawner ms = (MobSpawner)targetblock.getComplex(); Mob m = new Mob("Zombie", targetblock.getLocation()); ms.setSpawnedEntity(m.getEntity()); } return true; }
Can you give us the crash report the client generated? It's in .minecraft/crash-reports
.minecraft/crash-reports
The code provided below that worked in a prior version now crashes clients upon proximity to the spawner in question.