Skip to content

Commit

Permalink
fix #3540, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Aug 28, 2022
1 parent e86201d commit 33eb8cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@
* Fixed: [#2911] Inconsistent values used by getGameType() and setGameType() in Debug Card.
* (1.12.2) Fixed: [#3472] Incorrect 3D print lighting.
* Fixed: [#3226] Incorrect Hard Drive reported maximum stack size when formatted.
* Fixed: [#3084] Incorrect parsing of the 'maxSignalQueueSize' configuration option.
* Fixed: [#3184] Incorrect redstone card sides inside racks and computers.
* Fixed: [#3182] Incorrect reporting of entity inventory names in Transposer, plus other Transposer interaction issues.
* Fixed: Missing null check for Blood Magic integration.
* Fixed: [#3336] Missing null check for GregTech data stick NBTs.
* Fixed: [#3249] NullPointerException when remote terminal is missing.
* Fixed: [#3401] 'rawSetForeground', 'rawSetBackground' not working correctly.
* Fixed: [#3265] Relay 'setStrength' unlimited upper bound. (JamesOrdner)
* (1.7.10) Fixed: [#3540] Server-side crash with Motion Sensor
* Fixed: [#1999] 'string.gsub' patterns now allow numbers.
* Fixed: [#3195] Tier 1 Wireless Cards not receiving messages.
* (1.7.10) Fixed: [#3239] Unnecessary/unwanted canEntityDestroy check in OpenComputers fake player.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class MotionSensor(val host: EnvironmentHost) extends prefab.ManagedEnvironment
// is pseudo-infrared driven (it only works for *living* entities, after
// all), so I think it makes more sense for it to work in the dark, too.
/* entity.getBrightness(0) > 0.2 && */ {
val target = entity.getPosition(1.0F)
val target = Vec3.createVectorHelper(entity.posX, entity.posY, entity.posZ)
isClearPath(target) || isClearPath(target.addVector(0, entity.getEyeHeight, 0))
}

Expand Down

0 comments on commit 33eb8cb

Please sign in to comment.