mirror of
https://github.com/GTNewHorizons/StructureLib.git
synced 2026-11-20 03:59:34 +00:00
shift from uuid to EntityPlayerMP
ok maybe we shouldn't support building stuff for someone offline yet
This commit is contained in:
12 files changed
+98
-103
No files matched your search
@@ -1,9 +1,9 @@
|
||||
package com.gtnewhorizon.structurelib.structure;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.function.Function;
|
||||
|
||||
class LazyStructureElement<T> implements IStructureElementDeferred<T> {
|
||||
@@ -38,7 +38,7 @@ class LazyStructureElement<T> implements IStructureElementDeferred<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public PlaceResult survivalPlaceBlock(T t, World world, int x, int y, int z, ItemStack trigger, IItemSource s, UUID actorProfile) {
|
||||
return get(t).survivalPlaceBlock(t, world, x, y, z, trigger, s, actorProfile);
|
||||
public PlaceResult survivalPlaceBlock(T t, World world, int x, int y, int z, ItemStack trigger, IItemSource s, EntityPlayerMP actor) {
|
||||
return get(t).survivalPlaceBlock(t, world, x, y, z, trigger, s, actor);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user