mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Fixes #360
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user