mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Even more blocks
This commit is contained in:
1 parent
0a9a3aa9a6
commit
f577479e30
32 files changed
+352
-616
No files matched your search
@@ -391,7 +391,7 @@ public class EntityDoppleganger extends EntityLiving implements IBotaniaBoss, IE
|
||||
|
||||
EntityPlayer player = (EntityPlayer) e;
|
||||
|
||||
String name = player.getName().getUnformattedComponentText();
|
||||
String name = player.getName().getString();
|
||||
return !(player instanceof FakePlayer || FAKE_PLAYER_PATTERN.matcher(name).matches());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user