mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-14 21:13:54 +00:00
[Forge] Initial update for 1.10
This commit is contained in:
@ -19,11 +19,12 @@
|
||||
|
||||
package com.sk89q.worldedit.forge;
|
||||
|
||||
import org.spongepowered.api.entity.living.player.Player;
|
||||
|
||||
import net.minecraft.command.ICommand;
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.world.WorldSettings.GameType;
|
||||
import net.minecraft.world.GameType;
|
||||
import net.minecraftforge.fml.common.FMLCommonHandler;
|
||||
import org.spongepowered.api.entity.living.player.Player;
|
||||
|
||||
public interface ForgePermissionsProvider {
|
||||
|
||||
|
@ -96,7 +96,8 @@ final class TileEntityUtils {
|
||||
static void setTileEntity(World world, Vector position, @Nullable NBTTagCompound tag) {
|
||||
if (tag != null) {
|
||||
updateForSet(tag, position);
|
||||
TileEntity tileEntity = TileEntity.create(tag);
|
||||
// TileEntity.create(World, NBTTagCompound)
|
||||
TileEntity tileEntity = TileEntity.func_190200_a(world, tag);
|
||||
if (tileEntity != null) {
|
||||
world.setTileEntity(new BlockPos(position.getBlockX(), position.getBlockY(), position.getBlockZ()), tileEntity);
|
||||
}
|
||||
|
Reference in New Issue
Block a user