mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-12-03 11:16:26 +01:00
Can now rotate any item under players - Closes #496
This commit is contained in:
parent
46eaddc00f
commit
d3a85d054c
@ -4420,8 +4420,6 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
return FurnitureMovementError.MAX_ITEMS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
rotation %= 8;
|
||||
if (this.hasRights(habbo) || this.guildRightLevel(habbo) >= 2 || habbo.hasPermission(Permission.ACC_MOVEROTATE)) {
|
||||
return FurnitureMovementError.NONE;
|
||||
@ -4589,7 +4587,7 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
HabboItem topItem = this.getTopItemAt(occupiedTiles, null);
|
||||
|
||||
if (!stackHelper.isPresent() && !pluginHelper) {
|
||||
if (topItem != item) {
|
||||
if (oldLocation != tile) {
|
||||
for (RoomTile t : occupiedTiles) {
|
||||
HabboItem tileTopItem = this.getTopItemAt(t.x, t.y);
|
||||
if (!magicTile && ((tileTopItem != null && tileTopItem != item ? (t.state.equals(RoomTileState.INVALID) || !t.getAllowStack() || !tileTopItem.getBaseItem().allowStack()) : this.calculateTileState(t, item).equals(RoomTileState.INVALID))))
|
||||
|
Loading…
Reference in New Issue
Block a user