Skip to content

Commit c16d2aa

Browse files
committed
drop MP
1 parent 6f8ac8e commit c16d2aa

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/main/java/com/gtnewhorizon/structurelib/structure/AutoPlaceEnvironment.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import java.util.function.Predicate;
77
import javax.annotation.Nonnull;
88
import net.minecraft.entity.player.EntityPlayer;
9-
import net.minecraft.entity.player.EntityPlayerMP;
109
import net.minecraft.item.ItemStack;
1110
import net.minecraft.util.IChatComponent;
1211

@@ -24,7 +23,7 @@ public class AutoPlaceEnvironment {
2423
private final int[] baseOffsetABC;
2524

2625
public static AutoPlaceEnvironment fromLegacy(
27-
IItemSource source, EntityPlayerMP actor, Consumer<IChatComponent> chatter) {
26+
IItemSource source, EntityPlayer actor, Consumer<IChatComponent> chatter) {
2827
if (source instanceof WrappedIItemSource) {
2928
AutoPlaceEnvironment original = ((WrappedIItemSource) source).container;
3029
// feels like this is extremely likely to cause issues, but this does allow us to recover lost info.
@@ -161,7 +160,7 @@ public AutoPlaceEnvironment withSource(IItemSource source) {
161160
* @param actor new actor
162161
* @return new instance
163162
*/
164-
public AutoPlaceEnvironment withActor(EntityPlayerMP actor) {
163+
public AutoPlaceEnvironment withActor(EntityPlayer actor) {
165164
return new AutoPlaceEnvironment(source, actor, chatter, definition, piece, facing, offsetABC, baseOffsetABC);
166165
}
167166

0 commit comments

Comments
 (0)