public static void PlaceEntityNet(int x, int y, int type) { if (!WorldGen.InWorld(x, y, 0) || TileEntity.ByPosition.ContainsKey(new Point16(x, y)) || TileEntity._NetPlaceEntity == null) { return; } TileEntity._NetPlaceEntity(x, y, type); }
public static void PlaceEntityNet(int x, int y, int type) { // ISSUE: reference to a compiler-generated field if (!WorldGen.InWorld(x, y, 0) || TileEntity.ByPosition.ContainsKey(new Point16(x, y)) || TileEntity._NetPlaceEntity == null) { return; } // ISSUE: reference to a compiler-generated field TileEntity._NetPlaceEntity(x, y, type); }