mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Fixes #360
This commit is contained in:
parent
0e2ceda949
commit
393603e786
@ -212,6 +212,16 @@ public class HybridPlotWorld extends ClassicPlotWorld {
|
|||||||
|
|
||||||
public static byte rotate(final short id, byte data) {
|
public static byte rotate(final short id, byte data) {
|
||||||
switch (id) {
|
switch (id) {
|
||||||
|
case 162:
|
||||||
|
case 17: {
|
||||||
|
if (data >= 4 && data < 12) {
|
||||||
|
if (data >= 8) {
|
||||||
|
return (byte) (data - 4);
|
||||||
|
}
|
||||||
|
return (byte) (data + 4);
|
||||||
|
}
|
||||||
|
return data;
|
||||||
|
}
|
||||||
case 183:
|
case 183:
|
||||||
case 184:
|
case 184:
|
||||||
case 185:
|
case 185:
|
||||||
|
Loading…
Reference in New Issue
Block a user